Click any tag below to further narrow down your results
Links
SLayer is an open-source Python semantic layer that sits on top of a data warehouse so AI agents and people can query metrics without writing SQL by hand. You define a column like revenue once, then query it with expressions such as avg(revenue) or time_shift(sum(revenue), -1, 'year').
- Unlike traditional BI semantic layers, which need every metric and aggregation predefined, SLayer lets agents combine metrics, apply transforms like time shifts, and change aggregations on the fly.
- It handles read-only database connectivity, SQL generation, and row-level security, so the LLM doesn't have to write raw SQL.
- It exposes the same definitions over MCP, REST, CLI, Python, Flight SQL, and a Postgres-style SQL API, and imports configs from dbt, Cube, and Ossie.
- Install is via uv, and it can be added to Claude Code as an MCP server with a demo Jaffle Shop database for a quick start. It sends aggregated usage stats once a day unless you opt out.
NVIDIA Auto Ontology is an open-source library that builds a semantic layer from enterprise metadata so AI agents can understand where data lives, what metrics mean, and whether answers are trustworthy. The repo also includes a full Docker/Kubernetes app for natural-language-to-SQL querying on top of that catalog.
- The core problem is reliability: a fast answer built on a wrong metric definition is worthless, so agents need certified business meaning, lineage, and provenance attached to every result.
- It reconciles conflicting definitions across systems, validates generated SQL against certified definitions, and serves context through MCP, CLI, and API, and it learns from corrections over time.
- The bundled app runs a Next.js frontend, FastAPI backend, and Postgres with pgvector, using NVIDIA NIM models (Nemotron LLM, embeddings, reranker), with SSO, RBAC, optional Vault for credentials, and API tokens for scripted access.